﻿using System;
using System.Collections.Generic;

namespace MyCryptoChat.ViewModels
{
    public class StatsViewModel
    {
        public int NbChatrooms { get; set; }
        public int NbMessages { get; set; }
        public IEnumerable<ChatroomStatsViewModel> Chatrooms { get; set; }
    }

    public class ChatroomStatsViewModel
    {
        public int Id { get; set; }
        public DateTime DateCreation { get; set; }
        public DateTime DateEnd { get; set; }
        public int NbMessages { get; set; }
    }
}